<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include template('phpcms','header_news'); ?>
<!--begin main-->
<div id="main">
  <div id="main_l" class="bdr_1">
    <!--位置导航-->
    <div id="position"><a href="">首页</a><?php echo catpos($catid);?></div>
    <?php if(is_array($arrchildid)) foreach($arrchildid AS $cid => $c) { ?>
    <div class="cat">
      <div class="cat_title_1"><a href="<?php echo $c['url'];?>"><img src="images/more.gif" alt="更多" /></a>
        <h3><?php echo $c['catname'];?></h3>
      </div>
      <div class="cat_right">
        <ul class="text_list">
          <?php echo tag('phpcms', 'tag_content_cat_list', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms_content` WHERE  status=99  ".get_sql_catid($cid)." ORDER BY contentid DESC", 0, 14, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '46',));?>
        </ul>
      </div>
    </div>
    <?php } ?>
</div>
</div>
<!--end main-->
<?php include template('phpcms','footer'); ?>